<?php 
/* SVN FILE: $Id$ */
/* SecretQuestion Test cases generated on: 2008-12-21 03:12:43 : 1229831983*/
App::import('Model', 'SecretQuestion');

class SecretQuestionTestCase extends CakeTestCase {
	var $SecretQuestion = null;
	var $fixtures = array('app.secret_question', 'app.user');

	function startTest() {
		$this->SecretQuestion =& ClassRegistry::init('SecretQuestion');
	}

	function testSecretQuestionInstance() {
		$this->assertTrue(is_a($this->SecretQuestion, 'SecretQuestion'));
	}

	function testSecretQuestionFind() {
		$this->SecretQuestion->recursive = -1;
		$results = $this->SecretQuestion->find('first');
		$this->assertTrue(!empty($results));

		$expected = array('SecretQuestion' => array(
			'id'  => 'Lorem ipsum dolor sit amet',
			'question'  => 'Lorem ipsum dolor sit amet',
			'created'  => '2008-12-21 03:59:43',
			'modified'  => '2008-12-21 03:59:43'
			));
		$this->assertEqual($results, $expected);
	}
}
?>